<li nz-submenu *ngFor="let item of menu; let i = index;" (nzOpenChange)="selectedIndex = i" [nzOpen]="selectedIndex == i">
  <span title style="font-size: 15px;">
    <i [ngClass]="item.icon"></i>
    <span class="nav-text">{{item.name}}</span>
  </span>
  <ul>
    <li *ngFor="let ite of item.child" nz-menu-item [routerLink]="ite.path" routerLinkActive="ant-menu-item-selected" [routerLinkActiveOptions]="{exact: true}">{{ite.name}}</li>
  </ul>
</li>